Skip to content

Conversation

@arhoads
Copy link
Contributor

@arhoads arhoads commented Feb 4, 2026

Fixes # N/A

Master Issue: # N/A

Motivation

When using Boost 1.88 I get a compile error in MockServer.h.

Modifications

expires_from_now is deprecated and it is now recommended to use expires_after. This was fixed in all other places in #477, but MockServer was missed.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    Compile fix

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

expires_from_now is deprecated and it is now recommended to use expires_after
@BewareMyPower BewareMyPower added this to the 4.2.0 milestone Feb 4, 2026
@BewareMyPower BewareMyPower merged commit b3edc60 into apache:main Feb 4, 2026
14 checks passed
@arhoads arhoads deleted the patch-1 branch February 4, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants